6a93a5f33655c3e7569639d52d3e7c83e9262a23,software/nosql/src/test/java/brooklyn/entity/nosql/mongodb/MongoDbTest.java,MongoDbTest,testPollInsertCountSensor,#,67
Before Change
@Test(groups = "Integration")
public void testPollInsertCountSensor() throws Exception {
MongoDbServer entity = app.createAndManageChild(EntitySpecs.spec(MongoDbServer.class));
app.start(ImmutableList.of(localhostProvisioningLocation));
EntityTestUtils.assertAttributeEqualsEventually(entity, Startable.SERVICE_UP, true);
After Change
@Test(groups = "Integration")
public void testPollInsertCountSensor() throws Exception {
MongoDbServer entity = app.createAndManageChild(EntitySpecs.spec(MongoDbServer.class)
.configure("mongodbConfTemplateUrl", "classpath:///test-mongodb.conf"));
app.start(ImmutableList.of(localhostProvisioningLocation));
EntityTestUtils.assertAttributeEqualsEventually(entity, Startable.SERVICE_UP, true);